package org.leetcode.middle.leetcode31;

public class Solution {

    public void nextPermutation(int[] nums) {
        StringBuilder str = new StringBuilder();

        for (int num:nums) {
            str.append(num);
        }

        int num =Integer.parseInt(str.toString());
        int max =Integer.MAX_VALUE;
        int min =Integer.MIN_VALUE;


    }

}
